/*
 * Google code jam: GoroSort
 * 
 * Author: Jim
 * Date: 2011-05-07 Sat.
 */

#include <iostream>
#include <cstdlib>
#include <stdio.h>
#include <string.h>
#include <vector>

using namespace std;
  
//#define DEBUG 1
void solve();

int main(int argc, char** argv)
{
    int n;

#if DEBUG
    if(argc != 2)
    {
	cout << "please type -s or -l select large or small input data" << endl;
	return 1;
    }
    if(strcmp(argv[1], "-s") == 0)
    {
	freopen("D-small-practice.in","r",stdin); 
    }
    else if(strcmp(argv[1], "-l") == 0)
    {
	freopen("D-large-practice.in","r",stdin); 
    }
    else
    {
	cout << "please type -s or -l select large or small input data" << endl;
	return 1;
    }
#else
    freopen("A-small-practice.in","r",stdin); 
#endif
    freopen("output.txt","w",stdout); 

    //Add Your Code Here
    cin >> n;
    for(int i=0; i<n; i++)
    {
        cout <<"Case #"<<i+1<<": ";
        solve();
    }

    fclose(stdin);
    fclose(stdout);

    return EXIT_SUCCESS;
}


long long gcd(long long a,long long b)//Ç×´ó¼Ê
{
    if(a<b)
	return gcd(b,a);
    if(a%b==0)
	return b;
    return gcd(b,a%b);
}

int get_fenmu(int fz, int fm)
{
    return gcd(fz,fm)==1?fm:fm/gcd(fz,fm);
}

void solve()
{
    long long a, b, c;
    cin >> a >>b >>c;
    if(b!=0 && c==0 || b!=100 && c==100)
    {
        cout << "Broken" << endl;
	return;
    }
    if(b==0 && c==0 || b==100 && c==100)
    {
        cout << "Possible" << endl;
	return;
    }
    for(long long i=a; i>1; i--)
    {
        double Pd = (double)(b/100.00);
        double Pg = (double)(c/100.00);
	//cout << (double)(Pd*i) <<"---------"<< (int)(i*b/100.00) <<endl;
        if((double)Pd*i - (long long)(i*b/100.00) < 0.000001)
        {
	    long long A=i;
	    long long B=(long long)(i*b/100.00);
	    long long d=B*100-A*c;
	    //long long u=gcd(c,100);
	    long long u=1;
	    if(d%u==0)
	    {
		cout << "Possible" <<endl;
		return;
	    }
        }
    }
    cout << "Broken" << endl;
}





